package com.dongdongshop.mapper;

import com.dongdongshop.pojo.TbUserScore;
import com.dongdongshop.pojo.TbUserScoreExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserScoreMapper {
    int countByExample(TbUserScoreExample example);

    int deleteByExample(TbUserScoreExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserScore record);

    int insertSelective(TbUserScore record);

    List<TbUserScore> selectByExample(TbUserScoreExample example);

    TbUserScore selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserScore record, @Param("example") TbUserScoreExample example);

    int updateByExample(@Param("record") TbUserScore record, @Param("example") TbUserScoreExample example);

    int updateByPrimaryKeySelective(TbUserScore record);

    int updateByPrimaryKey(TbUserScore record);

    //根据userid查询一条数据
    TbUserScore selectbyuserid(@Param("userid") String userid);
}